<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" xmlns:shiro="http://www.pollix.at/thymeleaf/shiro">
<head>
    <th:block th:include="include :: header('数据差异值')" />
</head>
<body class="gray-bg">
<div class="container-div">
    <div class="row">
        <div class="col-sm-12 search-collapse">
            <form id="formId">
                <div class="select-list">
                    <ul>
                        <li>
                            <label>日期：</label>
                            <input type="text" name="monthOrDay" autocomplete="off" th:value="${day}">
                        </li>
                        <li>
                            <label>表：</label>
                            <input type="text" name="tableName" id="tableName" th:value="${tableName}"/>
                        </li>
                    </ul>
                </div>
            </form>
        </div>

        <div class="col-sm-12 select-table table-striped">
            <table id="bootstrap-table"></table>
        </div>
    </div>
</div>
<th:block th:include="include :: footer" />
<script th:inline="javascript">
    $(function() {
        var columns = [];
        debugger;
        $.each([[${vo.headers}]],function (index,item) {
            columns.push({field:item,title: item});
        });
        var options = {
            data: [[${vo.data}]],
            modalName: "天核对明细",
            columns: columns
        };
        $.table.init(options);
    });
</script>
</body>
</html>